package com.ufgov.zc.client.component.setting.cp;import javax.swing.JTextField;import com.ufgov.zc.client.component.MoneyDocument;import com.ufgov.zc.client.component.setting.TextFieldOption;import com.ufgov.zc.common.system.constants.BusinessOptionConstants;public class CpMonthUseMoneyOption extends TextFieldOption {  public CpMonthUseMoneyOption() {    this.init(BusinessOptionConstants.OPT_CP_VOUCHER_MONTH_MONEY, "授权支付凭证月用金额：");  }  protected JTextField createOptionEditor() {    JTextField field = super.createOptionEditor();    String v = field.getText();    field.setDocument(new MoneyDocument(false));    field.setText(v);    return field;  }}